local options = {
	backup = false,
	clipboard = "unnamedplus", -- Allows neovim to access the system clipboard
	cmdheight = 1,
	fileencoding = "utf-8",
	mouse = "a", -- Allows the mouse to be used in neovim
	smartcase = true,
	swapfile = false,
	termguicolors = true,
	timeoutlen = 100, -- Time to wait for a mapped sequence to complete
	undofile = true,
	updatetime = 300,
	expandtab = false, -- Disable convert tab to spaces
	shiftwidth = 4,
	tabstop = 4,
	cursorline = true,
	number = true,
	relativenumber = true,
}
local global_options = {
	mapleader = " ",
	loaded_ruby_provider = 0,
	loaded_perl_provider = 0,
}

vim.opt.shortmess:append("c")

for k, v in pairs(options) do
	vim.opt[k] = v
end
for k, v in pairs(global_options) do
	vim.g[k] = v
end

vim.cmd("set whichwrap+=<,>,[,],h,l")
